import React from "react";
import * as Icon from '@ant-design/icons'

export const iconToElement = (name) => {
  return React.createElement(Icon[name])
}
